package com.example.homecunter.fragment;

import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.example.homecunter.R;
import com.example.homecunter.StreamLayout;
import com.example.mvvmcore.fragment.BaseFragment;

import org.jetbrains.annotations.NotNull;

import java.util.Map;


public class TouTiaoFragment extends BaseFragment {

    View view;
//    private StreamLayout stretch;

    @Nullable
    @org.jetbrains.annotations.Nullable
    @Override
    public View onCreateView(@NonNull @NotNull LayoutInflater inflater, @Nullable @org.jetbrains.annotations.Nullable ViewGroup container, @Nullable @org.jetbrains.annotations.Nullable Bundle savedInstanceState) {
        view = super.onCreateView(inflater, container, savedInstanceState);
        return view;
    }

    @Override
    protected void initEnv() {
//        stretch = (StreamLayout) view.findViewById(R.id.stretch);

    }

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_tou_tiao;
    }

    @Override
    protected void preparVarMap(Map<Integer, Object> map) {

    }

    @Override
    protected void stopLoad() {
        Log.i("--b", "stopLoad: ToutiaoFragment");
    }

    @Override
    protected void lazyLoad() {

    }



//    @Override
//    public View onCreateView(LayoutInflater inflater, ViewGroup container,
//                             Bundle savedInstanceState) {
//        // Inflate the layout for this fragment
//        return inflater.inflate(R.layout.fragment_tou_tiao, container, false);
//    }
}